const path = require('path')
const fs = require('fs')

const srcPath = path.join(__dirname)
const linkPath = path.join(__dirname, '../../../node_modules/jax')

if (!fs.existsSync(linkPath)) {
  try {
    fs.symlinkSync(srcPath, linkPath)
  } catch (err) {
    console.error('创建软连接时出错：', err)
  }
}
